package cn.shop.transcation.login;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 登录信息
 *
 * @author jzw
 * @since 2021-11-02 13:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginInfoReq {

	@NotBlank(message = "账户不能为空")
	private String account;

	@NotBlank(message = "密码不能为空")
	private String password;

	@NotBlank(message = "验证码不能为空")
	private String code;

	private String advcode;

	private String openId;

}
